/**
 * 
 */
package com.zte.claa.inficombo.csa.app.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author 0283000115
 * 
	csa.datacombine.devtypes=beiqin_efire_v3,beiqin_efire_v2,beiqin_efire,beiqin300_efire_v2
	## interval between two data (unit: seconds)
	csa.datacombine.maxdatainterval=30
	csa.datacombine.sendafter1stcombine=true
	csa.datacombine.timeoutcheckperiod=10
 *
 */

@Component  
@ConfigurationProperties(prefix="csa.datacombine") 
public class DataCombineProps {
	private String devtypes = "";
	private int maxdatainterval = 30;	
	private int timeoutcheckperiod = 10;
	private boolean sendafter1stcombine = true;

	public DataCombineProps(){
		
	}

	public String getDevtypes() {
		return devtypes;
	}

	public void setDevtypes(String devtypes) {
		this.devtypes = devtypes;
	}

	public int getMaxdatainterval() {
		return maxdatainterval;
	}

	public void setMaxdatainterval(int maxdatainterval) {
		this.maxdatainterval = maxdatainterval;
	}

	public boolean isSendafter1stcombine() {
		return sendafter1stcombine;
	}

	public void setSendafter1stcombine(boolean sendafter1stcombine) {
		this.sendafter1stcombine = sendafter1stcombine;
	}

	public int getTimeoutcheckperiod() {
		return timeoutcheckperiod;
	}

	public void setTimeoutcheckperiod(int timeoutcheckperiod) {
		this.timeoutcheckperiod = timeoutcheckperiod;
	}
	
}
